package com.cskaoyan.service;

import com.cskaoyan.bean.MarketTopic;
import com.cskaoyan.bean.common.BaseRespVo;

import java.util.List;
import java.util.Map;

/**
 * @ClassName: AdminTopicService
 * @Description: TODO
 * @Author: jenyutao@gmail.com
 * @date: 2023/5/31 10:49
 * @Version: V1.0
 */
public interface AdminTopicService {
    BaseRespVo list(int page, int limit, String sort, String order, String title, String subtitle);

    BaseRespVo read(int parseInt);

    BaseRespVo create(MarketTopic marketTopic);

    BaseRespVo update(MarketTopic marketTopic);

    BaseRespVo delete(MarketTopic marketTopic);

    BaseRespVo batch(Map<String, List<Integer>> marketTopic);

    BaseRespVo deleteAll(Map read);
}
